let globalUrl = '';
const gdUrl = 'https://restapi.amap.com/v3/weather/weatherInfo';
const gdKey = 'b11860742af1d309e3082d65ec9381df';

// 不需要toast的接口
const noWarining = ['/taskLibrary/listComment', '/govDing/getAvatar'];

if (process.env.NODE_ENV === 'development') {
  // 开发环境
  // globalUrl = 'http://10.10.10.52:6081/capital_back/';
  // globalUrl = 'http://10.10.10.52:6080/capital_back/';
  // globalUrl = 'http://115.239.175.246:5902/capital_back/';
  // globalUrl = 'http://10.10.10.61:8081/capital_back/';
  // globalUrl = 'http://115.239.175.246:5501/capital_back/'; // 61
  globalUrl = 'http://10.10.10.98:8081/capital_back/';
  // globalUrl = 'http://10.10.10.98:8081/capital_back/';
  // globalUrl = 'http://10.10.10.31:8081/capital_back';
  // globalUrl = 'http://10.10.10.32:8081/capital_back';
} else {
  // 生产环境
  globalUrl = 'http://115.239.175.246:5902/capital_back';
}
export default {
  globalUrl,
  gdUrl,
  gdKey,
  noWarining
};
